package org.csu.newpetstoreback.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.util.DigestUtils;

@Data
public class AccountVO {
    private String username;
    private String password;
//    private String md5Password = DigestUtils.md5DigestAsHex(getPassword().getBytes());


    private String email;
    private String realname;
//    private String status;
    private String address1;
//    private String address2;
    private String city;
//    private String state;
//    private String zip;
    private String country;
    private String phone;
    @JsonProperty("aImage")
    private String aImage;

//    private String languagePreference;
//    private String favouriteCategoryId;
//    private int listOption;
//    private int bannerOption;
//
//    private String bannerName;
}
